package com.atmilan.quartz.model.entity.pure;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * pure图片表
 * </p>
 *
 * @author wuzp
 * @since 2021-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pure_images")
@ApiModel(value="PureImages对象", description="pure图片表")
public class PureImages extends Model<PureImages> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    private String ean13;

    @ApiModelProperty(value = "商品图片")
    private String images;

    @ApiModelProperty(value = "创建时间")
    private Date creatTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
